<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
		<title>Pete's Pet Shop</title>


	</head>

	<body>
		<div onclick="post();">asddasdasdasd</div>

		<!-- jQuery (necessary for Bootstrap's JavaScript plugins) 
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
	-->
		<script src="jq.js"></script>
		<script>
			function post(){
				$.ajax({
				url: "http://10fenke.com/rps/",
				data: {},
				method: "post",
				dataType: "json",
				success: function(data) {
					console.log(data);
				}
			});
			}
			
		</script>
	</body>

</html>